using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TeleportPoint : MonoBehaviour,Iinteractable
{
    public SenceLoadEventSO loadEventSO;
    public GameSceneSO sceneToGo;
    public Vector3 positionToGo;


    public void TriggerAction()
    {
        loadEventSO.RaiseLoadRequestEvent(sceneToGo,positionToGo,true);
    }

    
}
